import request from '@/utils/request'

export function listByPage (parameter) {
  return request({
    url: '/pc/paiOrder/listByPage',
    method: 'post',
    data: parameter
  })
}

export function refundOrder (id) {
  return request({
    url: `/pc/paiOrder/refundOrder/${id}`,
    method: 'get'
  })
}